package com.hhd.flow.engine.variable;

import com.alibaba.fastjson.JSONObject;
import com.hhd.flow.entity.FlowProcessInstance;

public interface FlowVariableLoader {
    FlowVariablesContainer loadVariables(String formTypeId, String formId, FlowProcessInstance processInstance);

    FlowVariablesContainer loadVariableContainerForDefinition(String formTypeId, String formId, FlowProcessInstance processInstance);

    FlowVariablesContainer convertJSONToFormModel(String formTypeId, String formId, FlowProcessInstance processInstance, JSONObject formModel);
}